import request from "@/api/request"

function  Cart(data){
    return request({
        method:"get",
        // 购物车列表
        url:"/cart/cartList",
        data
    })
}

export {
    Cart
}


function  deleteAction(data){
    return request({
        method:"get",
        // 删除购物车商品
        url:"/cart/deleteAction",
        data
    })
}

export {
    deleteAction
}